import Vue from 'vue'
import Router from 'vue-router'
import FeatureTestContainer from '../components/features_test/FeatureTestContainer'
import ShowAll from "../components/console/ShowAll";
import Setting from "../components/parame_setting/Setting";

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'main',
      component: ShowAll,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/console/show_all',
      name: 'show_all',
      component: ShowAll,
      meta: {
        keepAlive: true
      }

    },
    {
      path: '/feature',
      name: 'feature',
      component: FeatureTestContainer,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/setting',
      name: 'setting',
      component: Setting,
      meta: {
        keepAlive: true
      }
    }


  ]
})
